package com.woniuxy.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.woniuxy.entity.UserAddress;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

/**
 * @author Hgx
 * @ClassName FoodVO
 * @create 2020-06-02 12:39
 */
@Data
public class FoodVO {
    private Integer foodId;
    private String foodName;
    private String address;
    private String describe;
    /**
     * 价格
     */
    private Double price;
    private String tel;
    /**
     * 库存
     */
    private Integer stock;
    @JsonFormat(pattern = "HH:mm:ss")
    @DateTimeFormat(pattern = "HH:mm:ss")
    private Date startTime;
    /**
     * 营业结束时间
     */
    @JsonFormat(pattern = "HH:mm:ss")
    @DateTimeFormat(pattern = "HH:mm:ss")
    private Date endTime;

    private String url;
    /**
     * 城市名称
     */
    private String cityName;
    /**
     * 营地名称
     */
    private String campName;

}
